﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlashCardDetails.aspx.cs"
    Inherits="FlashCards.WebGUI.FlashCardDetails" MasterPageFile="~/FlashCardPage.Master" %>

<asp:Content ContentPlaceHolderID="mainContent" runat="server">
<style type="text/css">
<!--
.pron_font {font-family: "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Gentium;}
-->
</style>

<script type="text/javascript">
    function copyPronunciationFont(symbol) {
        
    }
</script>

    <table>
        <tr>
            <td>
                <asp:Label ID="lblWord" runat="server" Text="Word:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtWord" Width="250px" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvWord" runat="server" 
                    ControlToValidate="txtWord" ErrorMessage="required!" ValidationGroup="Word"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblPronunciation" runat="server" Text="Pronunciation:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPronunciation" runat="server" Width="250px" CssClass="pron_font"></asp:TextBox>     
                    <br />              
                <asp:Label ID="lblPronunciationSymbols" runat="server" CssClass="pron_font" Text="&#720; &aelig; &#593;&#720; e &#601; &#604;&#720; &#618; i&#720; &#594; &#596;&#720; &#650; u&#720; &#652; a&#618; a&#650; e&#618; &#601;&#650; &#603;&#601; &#618;&#601; &#596;&#618; &#650;&#601; b d g h j &#331; r &#691; s v w z &#658; d&#658; &#643; t&#643; &theta; &eth; x"></asp:Label>
            </td>            
        </tr>           
        <tr>
            <td>
                <asp:Label ID="lblDefinition" runat="server" Text="Definition:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDefinition" runat="server" Width="250px" TextMode="MultiLine" Rows="4"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvDefinition" runat="server" 
                    ControlToValidate="txtPronunciation" ErrorMessage="required!" ValidationGroup="Word"></asp:RequiredFieldValidator>
            </td>            
        </tr> 
        
        <tr>
            <td>
                <asp:Label ID="lblSampleSentence" runat="server" Text="Sample sentence:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSampleSentence" runat="server" Width="250px" TextMode="MultiLine" Rows="4"></asp:TextBox>
            </td>            
        </tr>   
        

        
                <tr>
            <td>
                <asp:Label ID="lblCreatedBy" runat="server" Text="Created by:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtCreatedBy" Enabled="false" runat="server"></asp:TextBox>
            </td>            
        </tr>   
                <tr>
            <td>
                <asp:Label ID="lblCreationDate" runat="server" Text="Created on:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtCreatedAt" Enabled="false" runat="server"></asp:TextBox>
            </td>            
        </tr> 
        <tr>
            <td>
                <asp:Label ID="lblModifiedBy" runat="server" Text="Modified by:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtModifiedBy" Enabled="false" runat="server"></asp:TextBox>
            </td>            
        </tr> 
                <tr>
            <td>
                <asp:Label ID="lblModifiedAt" runat="server" Text="Modified on:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtModifiedAt" Enabled="false" runat="server"></asp:TextBox>
            </td>            
        </tr>    
        <tr>
        <td colspan="2">
            <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" 
                ValidationGroup="Word" />
        
        </td>
        </tr>                       
    </table>
</asp:Content>
